package com.hawthorn.admin.service.sysbizconf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;


/**
 * <p>todo 业务参数配置表 service 接口</p>
 * @author: wcz
 * @created: 2022-07-01
 * @version v1.0.1
 */
public interface SysBizConfService
{
    /**
     * generator->查询
     */
    IPage<Map<String, Object>> findBizConf(Page<Map<String, Object>> page, String qc);

    /**
     * generator->新增方法
     */
    Map<String, Object> saveBizConf(Map<String, Object> param);

    /**
     * generator->更新方法
     */
    Map<String, Object> updateBizConf(Long id, Map<String, Object> param);

    /**
     * generator->导出方法
     */
    void export(HttpServletResponse response, String fileName, Map<String, Object> params) throws IOException;

    Integer removeBizConf(Long id);
}
